﻿<div id="header" style=" position:relative; overflow:hidden; background-color:#f5f5f5; border-bottom:1px solid #CCCCCC;">
	<div style="color:#E75718;">
		<span class="header_left"><a href="http://www.gouwutu.com/">首页</a>&nbsp;|&nbsp;<a title="收藏本站" onclick="AddFavorite(window.location,document.title)" class="collect" style="cursor:pointer;">收藏本站</a>&nbsp;|&nbsp;<a href="http://www.gouwutu.com/new/shortcut.php" title="添加到桌面快捷方式" class="collect" style="cursor:pointer;">添加快捷方式</a>&nbsp;|&nbsp;<a href="http://bbs.gouwutu.com/forum.php?mod=viewthread&tid=158&page=1&extra=#pid233" target="_blank">意见反馈</a></span>
        <p style="position:absolute; top:6px; left:42%; overflow:hidden;"><a target="_blank" style="text-decoration:underline; color:#F00; font-weight:600; display:none;" href="http://blog.gouwutu.com/?p=399">购物兔春节放假公告</a></p>
        <?PHP if($userid == "") { ?>
		<span class="header_right Setup"><a href="<?php echo "http://www.gouwutu.com/myservices/bangding.html?ref=".urlencode($_SERVER['SERVER_NAME'].$_SERVER[ "REQUEST_URI"]); ?>">设置返现账号</a></span>
        <?php
		 }
		 else
		 {
			$rows = mysql_fetch_assoc(mysql_query("select count(*) as tmp from gwt_msg where see='0' and touser=".$userid));
			$allCount = $rows["tmp"];
		?>
        <span class="header_right"><b class="zhongxin"></b><a href="http://www.gouwutu.com/myservices/?id=<?php echo $userid; ?>" target="_blank"><?php echo $zfb; ?></a>&nbsp;|&nbsp;<a style="text-decoration:none;" title="点击查看消息" target="_blank" href="http://www.gouwutu.com/myservices/msg.php?id=4601">消息<?php if($allCount != '0' || $allCount == ''){ ?>（<font color="#00f"><?php echo $allCount; ?></font>）<?php } ?></a>&nbsp;|&nbsp;<a href="http://www.gouwutu.com/register_nocheck.php?opt=logout">退出</a></span>
        <?php } ?>
  	</div>
</div>
<script type="text/javascript">
function AddFavorite(sURL, sTitle)
{
    try
    {
        window.external.addFavorite(sURL, sTitle);
    }
    catch (e)
    {
        try
        {
            window.sidebar.addPanel(sTitle, sURL, "");
        }
        catch (e)
        {
            alert("您的浏览器暂不支持直接收藏，请使用Ctrl+D进行添加");
        }
    }
}
</script>